package com.qys.livesMall.app.user.model.dto.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.math.BigDecimal;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/06/06
 * Time: 17:06
 * DESCRIPTION:
 */
@Data
public class UserLevelUpgradationDTO {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "等级名")
    @NotBlank
    private String name;

    @Schema(description = "邀请直系人数")
    @NotNull
    private Integer upgradeConditionNum;

    @Schema(description = "等级")
    @NotNull
    private Integer level;

    @Schema(description = "邀请非直系人数")
    @NotNull
    private Integer inviteNonDirect;

    @Schema(description = "充值金额")
    @NotNull
    private BigDecimal rechargeAmount;

    @Schema(description = "邀请人数有效充值金额")
    @NotNull
    private BigDecimal effectiveRechargeAmount;
}
